package com.easylinkin.sm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.sm.entity.Menu;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户Mapper
 *
 * @author TianGanLin
 * @since 1.0.0, 2019/8/20
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

  List<Menu> getMenuPage(@Param("queryParams") Menu queryParams, @Param("module") String module,
      @Param("language") String language, Page page);

  List<Menu> getMenuAll(@Param("queryParams") Menu queryParams, @Param("module") String module,
      @Param("language") String language);
}
